<style>
    .favorite-user-del{
        display: none;
    }
    .favorite-user-box:hover .favorite-user-del{
        display: block;
    }
</style>
<div class="user-info" ng-init="favTab = 'job'">
    <!--<div class="user-info-title">我的收藏</div>-->
    <ul class="nav nav-tabs" style="margin-top: 12px;">
        <li role="presentation" ng-class="{'active':favTab == 'job'}"><a ng-click="favTab = 'job'">职位收藏</a></li>
        <li role="presentation" ng-class="{'active':favTab == 'person'}"><a ng-click="favTab = 'person'">人员收藏</a></li>
    </ul>
    <div class="clearfix" ng-show="favTab == 'job'" style="margin-top: 20px;margin-right: -25px;">
        <div class="fl favorite-user-box" ng-repeat="item in favoriteJob" ui-sref="job({jobId:item.jobId})" style="position: relative;width:220px;text-align: center;margin-bottom: 15px;margin-right: 25px;cursor:pointer;">
            <img ng-src="{{item.imageUrl}}" style="width: 220px;height: 125px;border: 1px solid #eaeaea;">
            <p class="font16" style="margin-top: 10px;">{{item.title}}</p>
            <p class="font-orange">￥{{item.price}}</p>
            <div class="favorite-user-del" ng-click="deleteFavJob(item.id)" style="position: absolute;top:-7px;right:-9px;width: 20px;height: 20px;border-radius: 50%;background-color: #49a9e1;text-align: center;line-height: 20px;cursor:pointer;"><i class="fa fa-close" style="color: #fff;margin-top:3px;margin-left: 1px;"></i></div>
        </div>
    </div>
    <div ng-show="favTab == 'person'" style="margin-top: 20px">
        <table>
            <tbody>
                <tr class="border-gray" ng-repeat="item in favoriteUser">
                    <td style="padding: 15px 0;text-align:center;width: 180px;">
                        <img src="images/person/woman.png" style="width: 76px;height: 76px;border-radius: 50%;">
                    </td>
                    <td style="padding: 15px 0;width: 150px;">{{item.realName}} {{item.age}}岁</td>
                    <td style="padding: 15px 0;width: 160px;">
                        <span ng-show="item.type==1">日常保洁</span>
                        <span ng-show="item.type==2">保姆月嫂</span>
                        <span ng-show="item.type==3">物品维修</span>
                        <span ng-show="item.type==4">货运搬家</span>
                    </td>
                    <td style="padding: 15px 0;width: 320px;">{{item.info}}</td>
                    <td style="padding: 15px 0;width: 190px;">
                        <button class="button button-royal button-small button-rounded" ui-sref="person({userId:item.favoriteUserId})">查看</button>
                        <button class="button button-royal button-small button-rounded" ng-click="deleteFavUser(item.id)">删除</button>
                    </td>
                </tr>
            </tbody>
        </table>
    </div>
</div>